package com.bsoft.gol.hcs.specialist.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 随访因素数据记录表(FusFactorDataRecord)实体类
 *
 * @author makejava
 * @since 2022-06-07 09:22:24
 */
@Entity
@Table(name = "fus_factor_data_record")
public class FusFactorDataRecord implements Serializable {
    private static final long serialVersionUID = 798130976967042512L;

    /**
     * 随访因素数据记录表id
     */     
    @Id
    @Column(name="id")
    private String id;
    /**
     * 随访大类类型 1-专病随访，2-院后随访，3-满意度随访
     */     
    @Column(name="follow_type")
    private String followType;
    /**
     * 随访子路径
     */     
    @Column(name="route_detail_id")
    private Long routeDetailId;
    /**
     * 入组记录 id-专病随访必填
     */     
    @Column(name="team_chronic_group_id")
    private Long teamChronicGroupId;
    /**
     * 随访记录id-院后随访和满意度随访必填
     */     
    @Column(name="record_id")
    private String recordId;
    /**
     * 数据来源: 1 同步的诊疗数据数据库 2 表单答案数据库
     */     
    @Column(name="data_source")
    private String dataSource;
    /**
     * 子路径因素id
     */
    @Column(name = "route_detail_factor_id")
    private Long routeDetailFactorId;
    /**
     * 因素条件选择 and 并且 or 或者
     */
    @Column(name = "factor_condition_type")
    private String factorConditionType;
    /**
     * 因素类别,1.门诊诊断 2.入院诊断 3.出院诊断 4.接诊医生 5.责任医生6.关联指标 7.手术名称 8.医嘱名称9.专病分期 10.专病拓展属性 11.门诊状态 12.住院状态 13 路径分支
     */
    @Column(name = "factor_type")
    private Byte factorType;
    /**
     * 病人id
     */
    @Column(name = "patient_id")
    private String patientId;
    /**
     * 诊断记录标识
     */
    @Column(name = "diagnostic_record_id")
    private String diagnosticRecordId;
    /**
     * 业务诊断类型：1入院诊断、2出院诊断、3门诊诊断、5其他诊断
     */     
    @Column(name="diagnosis_service_type")
    private String diagnosisServiceType;
    /**
     * 疾病代码
     */     
    @Column(name="diseases_code")
    private String diseasesCode;
    /**
     * 疾病名称
     */     
    @Column(name="diseases_name")
    private String diseasesName;
    /**
     * 诊断时间
     */     
    @Column(name="diagnosis_time")
    private Date diagnosisTime;
    /**
     * 手术记录标识
     */     
    @Column(name="operation_record_id")
    private String operationRecordId;
    /**
     * 手术编码
     */     
    @Column(name="operation_code")
    private String operationCode;
    /**
     * 手术名称
     */     
    @Column(name="operation_name")
    private String operationName;
    /**
     * 手术结束时间
     */     
    @Column(name="operation_end_time")
    private Date operationEndTime;
    /**
     * 关联指标记录的唯一id
     */     
    @Column(name="index_record_id")
    private String indexRecordId;
    /**
     * 指标编码
     */     
    @Column(name="index_code")
    private String indexCode;
    /**
     * 指标名称
     */     
    @Column(name="index_name")
    private String indexName;
    /**
     * 关联指标结果值
     */     
    @Column(name="index_result")
    private String indexResult;
    /**
     * 报告时间
     */     
    @Column(name="report_time")
    private Date reportTime;
    /**
     * 入组记录分期属性标识
     */     
    @Column(name="stages_record_id")
    private Long stagesRecordId;
    /**
     * 分期编码
     */     
    @Column(name="stages_code")
    private String stagesCode;
    /**
     * 就诊记录标识
     */     
    @Column(name="visit_record_id")
    private String visitRecordId;
    /**
     * 机构代码
     */     
    @Column(name="organization_id")
    private String organizationId;
    /**
     * 医生代码
     */     
    @Column(name="doctor_id")
    private String doctorId;
    /**
     * 医生名称
     */     
    @Column(name="doctor_name")
    private String doctorName;
    /**
     * 就诊时间
     */     
    @Column(name="visit_time")
    private Date visitTime;
    /**
     * 住院记录标识
     */     
    @Column(name="hospital_record_id")
    private String hospitalRecordId;
    /**
     * 出院时间
     */     
    @Column(name="discharge_time")
    private Date dischargeTime;
    /**
     * 分期名称
     */     
    @Column(name="stages_name")
    private String stagesName;
    /**
     * 分期变更创建时间
     */     
    @Column(name="stages_record_create_time")
    private Date stagesRecordCreateTime;
    /**
     * 入组记录扩展属性id
     */     
    @Column(name="group_chronic_record_id")
    private Long groupChronicRecordId;
    /**
     * 扩展属性id
     */     
    @Column(name="extend_id")
    private Long extendId;
    /**
     * 扩展属性名
     */     
    @Column(name="name")
    private String name;
    /**
     * 扩展属性生效时间
     */     
    @Column(name="extend_time")
    private Date extendTime;
    /**
     * 创建时间
     */     
    @Column(name="gmt_create")
    private Date gmtCreate;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getFollowType() {
        return followType;
    }

    public void setFollowType(String followType) {
        this.followType = followType;
    }

    public Long getRouteDetailId() {
        return routeDetailId;
    }

    public void setRouteDetailId(Long routeDetailId) {
        this.routeDetailId = routeDetailId;
    }

    public Long getTeamChronicGroupId() {
        return teamChronicGroupId;
    }

    public void setTeamChronicGroupId(Long teamChronicGroupId) {
        this.teamChronicGroupId = teamChronicGroupId;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public Long getRouteDetailFactorId() {
        return routeDetailFactorId;
    }

    public void setRouteDetailFactorId(Long routeDetailFactorId) {
        this.routeDetailFactorId = routeDetailFactorId;
    }

    public String getFactorConditionType() {
        return factorConditionType;
    }

    public void setFactorConditionType(String factorConditionType) {
        this.factorConditionType = factorConditionType;
    }

    public Byte getFactorType() {
        return factorType;
    }

    public void setFactorType(Byte factorType) {
        this.factorType = factorType;
    }

    public String getPatientId() {
        return patientId;
    }

    public void setPatientId(String patientId) {
        this.patientId = patientId;
    }

    public String getDiagnosticRecordId() {
        return diagnosticRecordId;
    }

    public void setDiagnosticRecordId(String diagnosticRecordId) {
        this.diagnosticRecordId = diagnosticRecordId;
    }

    public String getDiagnosisServiceType() {
        return diagnosisServiceType;
    }

    public void setDiagnosisServiceType(String diagnosisServiceType) {
        this.diagnosisServiceType = diagnosisServiceType;
    }

    public String getDiseasesCode() {
        return diseasesCode;
    }

    public void setDiseasesCode(String diseasesCode) {
        this.diseasesCode = diseasesCode;
    }

    public String getDiseasesName() {
        return diseasesName;
    }

    public void setDiseasesName(String diseasesName) {
        this.diseasesName = diseasesName;
    }

    public Date getDiagnosisTime() {
        return diagnosisTime;
    }

    public void setDiagnosisTime(Date diagnosisTime) {
        this.diagnosisTime = diagnosisTime;
    }

    public String getOperationRecordId() {
        return operationRecordId;
    }

    public void setOperationRecordId(String operationRecordId) {
        this.operationRecordId = operationRecordId;
    }

    public String getOperationCode() {
        return operationCode;
    }

    public void setOperationCode(String operationCode) {
        this.operationCode = operationCode;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public Date getOperationEndTime() {
        return operationEndTime;
    }

    public void setOperationEndTime(Date operationEndTime) {
        this.operationEndTime = operationEndTime;
    }

    public String getIndexRecordId() {
        return indexRecordId;
    }

    public void setIndexRecordId(String indexRecordId) {
        this.indexRecordId = indexRecordId;
    }

    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public String getIndexResult() {
        return indexResult;
    }

    public void setIndexResult(String indexResult) {
        this.indexResult = indexResult;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public Long getStagesRecordId() {
        return stagesRecordId;
    }

    public void setStagesRecordId(Long stagesRecordId) {
        this.stagesRecordId = stagesRecordId;
    }

    public String getStagesCode() {
        return stagesCode;
    }

    public void setStagesCode(String stagesCode) {
        this.stagesCode = stagesCode;
    }

    public String getVisitRecordId() {
        return visitRecordId;
    }

    public void setVisitRecordId(String visitRecordId) {
        this.visitRecordId = visitRecordId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(String doctorId) {
        this.doctorId = doctorId;
    }

    public String getDoctorName() {
        return doctorName;
    }

    public void setDoctorName(String doctorName) {
        this.doctorName = doctorName;
    }

    public Date getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Date visitTime) {
        this.visitTime = visitTime;
    }

    public String getHospitalRecordId() {
        return hospitalRecordId;
    }

    public void setHospitalRecordId(String hospitalRecordId) {
        this.hospitalRecordId = hospitalRecordId;
    }

    public Date getDischargeTime() {
        return dischargeTime;
    }

    public void setDischargeTime(Date dischargeTime) {
        this.dischargeTime = dischargeTime;
    }

    public String getStagesName() {
        return stagesName;
    }

    public void setStagesName(String stagesName) {
        this.stagesName = stagesName;
    }

    public Date getStagesRecordCreateTime() {
        return stagesRecordCreateTime;
    }

    public void setStagesRecordCreateTime(Date stagesRecordCreateTime) {
        this.stagesRecordCreateTime = stagesRecordCreateTime;
    }

    public Long getGroupChronicRecordId() {
        return groupChronicRecordId;
    }

    public void setGroupChronicRecordId(Long groupChronicRecordId) {
        this.groupChronicRecordId = groupChronicRecordId;
    }

    public Long getExtendId() {
        return extendId;
    }

    public void setExtendId(Long extendId) {
        this.extendId = extendId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getExtendTime() {
        return extendTime;
    }

    public void setExtendTime(Date extendTime) {
        this.extendTime = extendTime;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

}
